package com.atguigu.spzx.common.config;

import com.atguigu.spzx.common.handler.SpzxAuthInterceptor;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({SpzxAuthInterceptor.class , SpzxWebMvcConfigurer.class}) //使用注解时 将自动填充处理器引入到容器中
public @interface EnableSpzxAuth {
}
